package com.token.iot.bratterycharging.boss.web;

import com.outstanding.framework.core.ReturnCode;

public enum ResCode implements ReturnCode{
	
	AgentAccountCreatError("P0001","账号创建失败"),
	OperNotLogin("P0002","操作员登录会话已经过期"),
	undenfinued("",""), 
	AgentNotFind("P0003","创建商户时代理商不存在"),
	PayItemParamError("P0004","设置支付产品参数错误"), 
	QDATEEror("P0005","设备状态响应消息，数据错误"), 
	onMessgeDeviceOffError("P0006","设备状态响应消息，系统错误"),
	LoginError("P0007","登录错误"), 
	DeviceInfError("P0008","远程获取设备信息错误"), 
	DeviceQueryParamError("P0009","查询设备信息传入的条件错误"),
	
	;
	
	private String code;
	private String message;
	private ResCode (String code,String message) {
		this.code = code;
		this.message = message;
	}
	@Override
	public String getCode() {
		
		return this.code;
	}

	@Override
	public String getMessage() {
	
		return this.message;
	}

}
